#ifndef APP_KEY_H
#define APP_KEY_H

#ifdef	EXTR
#undef	EXTR                        	// undefine "EXTR"                                                               
#endif
						                                                                                         
#ifdef	APP_KEY_C			    		// redefine "EXTR",make sure EXTR defined according to the constant of "main".   
#define EXTR   


#else						                                                                                         
#define EXTR	extern                                                                                               
#endif 


// 以下是按键键值, 一个位代表一个按键 
#define	KEY_DOWN   			(0x01)
#define	KEY_UP				(0x02)
#define	KEY_FAN				(0x04)
#define	KEY_POWER			(0x08)
#define	KEY_SELF_TEST		(KEY_DOWN|KEY_UP|KEY_FAN)
#define	KEY_ENGINEE			(KEY_POWER|KEY_UP|KEY_FAN)
#define	KEY_WIFI_RESET		(KEY_DOWN|KEY_POWER)

extern void AppKeyInit(void);

#endif

